package com.ruoyi.lvlian.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.util.List;

@Data
@ToString
@ApiModel(value = "产品类别", description = "产品类别")
public class ProductCategoryDto {

    private Long id;
    private String name;

    @ApiModelProperty(value = "分类编码")
    private String code;

    private String level;
    private String status;

    //    @NotNull(message = "orgCodes不能为空") // 这是实际的验证注解
    private List<String> orgCodes;

    private Boolean viewFlag = null;
}
